+2004-11-04 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk-pixbuf.c (gdk_pixbuf_class_init): Document current
+ restrictions for property values. (#157409, Matthew H. Plough)
+
2004-11-01 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-features.h.in: Break the declaration of the three
object_class->set_property = gdk_pixbuf_set_property;
object_class->get_property = gdk_pixbuf_get_property;
+ /**
+ * GdkPixbuf:n-channels:
+ *
+ * The number of samples per pixel.
+ * Currently, only 3 or 4 samples per pixel are supported.
+ */
g_object_class_install_property (object_class,
PROP_N_CHANNELS,
g_param_spec_int ("n_channels",
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY));
+ /**
+ * GdkPixbuf:bits-per-sample:
+ *
+ * The number of bits per sample.
+ * Currently only 8 bit per sample are supported.
+ */
g_object_class_install_property (object_class,
PROP_BITS_PER_SAMPLE,
g_param_spec_int ("bits_per_sample",
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY));
+ /**
+ * GdkPixbuf:rowstride:
+ *
+ * The number of bytes between the start of a row and
+ * the start of the next row. This number must (obviously)
+ * be at least as large as the width of the pixbuf.
+ */
g_object_class_install_property (object_class,
PROP_ROWSTRIDE,
g_param_spec_int ("rowstride",